<template>
  <div>
    <h2>TsUser</h2>
    name:{{ name }}-{{ props.name }} <br>
    age:{{ age }}-{{ props.age }} <br>
  </div>
</template>
<script setup>
// defineProps(['name', 'age']);
const props = defineProps({
  name: {
    type: String,
    required: true,
  },
  age: {
    type: Number
  }
});
</script>